package com.jaws.demo.vo;

import java.io.Serializable;
import java.util.List;

import javax.validation.Valid;
import javax.validation.constraints.Size;

import com.alibaba.fastjson.JSON;

/**
 * 批量开户请求参数
 * 
 * @author buyi
 * @date 2017-09-26 11:08:42
 * @since v2.0.0
 */
@SuppressWarnings("serial")
public class BatchOpenAccountReq implements Serializable {

	@Valid
	@Size(min = 1, max = 10000, message = "list记录数在1-10000之间")
	private List<OpenAccountReq> list;

	public List<OpenAccountReq> getList() {
		return list;
	}

	public void setList(List<OpenAccountReq> list) {
		this.list = list;
	}

	@Override
	public String toString() {
		return JSON.toJSONString(this);
	}
}
